Skip to content

Commit

Permalink
trackedtranactionstore.go
Browse files Browse the repository at this point in the history
  • Loading branch information
intls committed Jan 6, 2025
1 parent 736ad01 commit 9078124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stakerdb/trackedtranactionstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func protoBtcConfirmationInfoToBtcConfirmationInfo(ci *proto.BTCConfirmationInfo
}

func protoUnbondingDataToUnbondingStoreData(ud *proto.UnbondingTxData) (*UnbondingStoreData, error) {
// Unbodning txdata should always contains unbonding tx
// Unboding txdata should always contains unbonding tx
var unbondingTx wire.MsgTx
err := unbondingTx.Deserialize(bytes.NewReader(ud.UnbondingTransaction))

Expand Down Expand Up @@ -457,7 +457,7 @@ func getNumTx(txIdxBucket walletdb.ReadBucket) uint64 {
return nextTxKey(txIdxBucket) - 1
}

// getTxByHash retruns transaction and transaction key if transaction with given hash exsits
// getTxByHash returns transaction and transaction key if transaction with given hash exsits
func getTxByHash(
txHashBytes []byte,
txIndexBucket walletdb.ReadBucket,
Expand Down

0 comments on commit 9078124

Please sign in to comment.