mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-23 22:15:54 +00:00
Minor typos
This commit is contained in:
parent
fedbb3bd0f
commit
21b515b454
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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))
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user