Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fleandrei committed Jan 17, 2025
1 parent 32468bb commit 0e25b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/onchain/datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ func getArgsKey() []byte {
// getCoinsKey returns the key in the datastore for the amount of MAS to be sent to the deployed contract.
func getCoinsKey() []byte {
lengthPrefix := convert.U32ToBytes(byteArrayLengthPrefix)

coinsKeySuffix := []byte{1}

tempKey := append(getContractByteCodeKey(), lengthPrefix...)

return append(tempKey, coinsKeySuffix...)
Expand Down

0 comments on commit 0e25b0c

Please sign in to comment.