mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 14:35:53 +00:00
fix fmt
This commit is contained in:
parent
884ecbcaa3
commit
6bf342bf91
@ -43,7 +43,7 @@ func broadcast(conf *broadcastConfig) error {
|
||||
}
|
||||
|
||||
response, err := daemonClient.Broadcast(ctx, &pb.BroadcastRequest{
|
||||
Id: uuid.String(),
|
||||
Id: uuid.String(),
|
||||
Transactions: transactions})
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@ -22,7 +22,7 @@ func createUnsignedTransaction(conf *createUnsignedTransactionConfig) error {
|
||||
|
||||
sendAmountSompi := uint64(conf.SendAmount * constants.SompiPerKaspa)
|
||||
response, err := daemonClient.CreateUnsignedTransactions(ctx, &pb.CreateUnsignedTransactionsRequest{
|
||||
Id: uuid.String(),
|
||||
Id: uuid.String(),
|
||||
From: conf.FromAddresses,
|
||||
Address: conf.ToAddress,
|
||||
Amount: sendAmountSompi,
|
||||
|
||||
@ -35,7 +35,7 @@ func send(conf *sendConfig) error {
|
||||
|
||||
createUnsignedTransactionsResponse, err :=
|
||||
daemonClient.CreateUnsignedTransactions(ctx, &pb.CreateUnsignedTransactionsRequest{
|
||||
Id: uuid.String(),
|
||||
Id: uuid.String(),
|
||||
From: conf.FromAddresses,
|
||||
Address: conf.ToAddress,
|
||||
Amount: sendAmountSompi,
|
||||
@ -66,7 +66,7 @@ func send(conf *sendConfig) error {
|
||||
}
|
||||
|
||||
response, err := daemonClient.Broadcast(ctx, &pb.BroadcastRequest{
|
||||
Id: uuid.String(),
|
||||
Id: uuid.String(),
|
||||
Transactions: signedTransactions,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
@ -58,7 +58,7 @@ func sweep(conf *sweepConfig) error {
|
||||
defer cancel()
|
||||
|
||||
getExternalSpendableUTXOsResponse, err := daemonClient.GetExternalSpendableUTXOs(ctx, &pb.GetExternalSpendableUTXOsRequest{
|
||||
Id: uuid.String(),
|
||||
Id: uuid.String(),
|
||||
Address: address.String(),
|
||||
})
|
||||
if err != nil {
|
||||
@ -105,7 +105,7 @@ func sweep(conf *sweepConfig) error {
|
||||
fmt.Println("\tTo:\t", toAddress)
|
||||
|
||||
response, err := daemonClient.Broadcast(ctx, &pb.BroadcastRequest{
|
||||
Id: uuid.String(),
|
||||
Id: uuid.String(),
|
||||
IsDomain: true,
|
||||
Transactions: serializedSplitTransactions,
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user