Skip to content

Commit

Permalink
Feat: lower case for block hash as well
Browse files Browse the repository at this point in the history
  • Loading branch information
AvbrehtLuka committed Nov 20, 2024
1 parent 1268692 commit c09a0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/xrp/xrp.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func (c XRPClient) GetBlockResult(ctx context.Context, blockNum uint64,
}

block := Block{
Hash: respStruct.Result.LedgerHash,
Hash: strings.ToLower(respStruct.Result.LedgerHash),
BlockNumber: respStruct.Result.LedgerIndex,
Timestamp: respStruct.Result.Ledger.CloseTime + XRPTimeToUTD,
Transactions: uint64(len(respStruct.Result.Ledger.Transactions)),
Expand Down

0 comments on commit c09a0fd

Please sign in to comment.