Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/sptool/toolbox_ipni.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ var deletePeer = &cli.Command{
}

// Encode the function call
callData, err := parsedABI.Pack("getPeerData", int64(actorId))
callData, err := parsedABI.Pack("getPeerData", uint64(actorId))
if err != nil {
log.Fatalf("Failed to pack function call data: %v", err)
}
Expand Down Expand Up @@ -170,7 +170,7 @@ var deletePeer = &cli.Command{
}

//Encode the method call to the contract (using the pay method with UUID)
data, err := parsedABI.Pack("deletePeerData", int64(actorId))
data, err := parsedABI.Pack("deletePeerData", uint64(actorId))
if err != nil {
return xerrors.Errorf("Failed to pack the `deletePeerData()` function call: %v", err)
}
Expand Down
Loading