Skip to content

Commit

Permalink
Minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsutton committed Sep 13, 2024
1 parent fedbb3b commit 21b515b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/kaspawallet/bump_fee.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func bumpFee(conf *bumpFeeConfig) error {
}

if len(keysFile.ExtendedPublicKeys) > len(keysFile.EncryptedMnemonics) {
return errors.Errorf("Cannot use 'send' command for multisig wallet without all of the keys")
return errors.Errorf("Cannot use 'bump-fee' command for multisig wallet without all of the keys")
}

daemonClient, tearDown, err := client.Connect(conf.DaemonAddress)
Expand Down
2 changes: 1 addition & 1 deletion cmd/kaspawallet/daemon/pb/kaspawalletd.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ service kaspawalletd {
rpc NewAddress(NewAddressRequest) returns (NewAddressResponse) {}
rpc Shutdown(ShutdownRequest) returns (ShutdownResponse) {}
rpc Broadcast(BroadcastRequest) returns (BroadcastResponse) {}
// BroadcastRBF assumes that all transactions depends on the first one
// BroadcastRBF assumes that all transactions depend on the first one
rpc BroadcastRBF(BroadcastRequest) returns (BroadcastResponse) {}
// Since SendRequest contains a password - this command should only be used on
// a trusted or secure connection
Expand Down
2 changes: 1 addition & 1 deletion cmd/kaspawallet/daemon/server/broadcast_rbf.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (s *server) BroadcastRBF(_ context.Context, request *pb.BroadcastRequest) (
return &pb.BroadcastResponse{TxIDs: txIDs}, nil
}

// broadcastRBF assumes that all transactions depends on the first one
// broadcastRBF assumes that all transactions depend on the first one
func (s *server) broadcastRBF(transactions [][]byte, isDomain bool) ([]string, error) {

txIDs := make([]string, len(transactions))
Expand Down
2 changes: 1 addition & 1 deletion cmd/kaspawallet/daemon/server/split_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestEstimateComputeMassAfterSignatures(t *testing.T) {

estimatedMassAfterSignatures, err := serverInstance.estimateComputeMassAfterSignatures(unsignedTransaction)
if err != nil {
t.Fatalf("Error from estimateMassAfterSignatures: %s", err)
t.Fatalf("Error from estimateComputeMassAfterSignatures: %s", err)
}

unsignedTransactionBytes, err := serialization.SerializePartiallySignedTransaction(unsignedTransaction)
Expand Down

0 comments on commit 21b515b

Please sign in to comment.