diff --git a/attestation/attestclient.go b/attestation/attestclient.go index 7d8350a..8becb3d 100644 --- a/attestation/attestclient.go +++ b/attestation/attestclient.go @@ -439,7 +439,7 @@ func (w *AttestClient) SignTransaction(hash chainhash.Hash, msgTx wire.MsgTx) ( if prevTxErr != nil { return nil, prevTxErr } - log.Infof("prev tx: %v", prevTx) + log.Infof("prev tx: %s", prevTx) var inputs []btcjson.RawTxWitnessInput // new tx inputs var keys []string // keys to sign inputs @@ -478,10 +478,10 @@ func (w *AttestClient) SignTransaction(hash chainhash.Hash, msgTx wire.MsgTx) ( log.Infof("error %v", err) } txHex = hex.EncodeToString(buf.Bytes()) - log.Infof("tx hex %v", txHex) + log.Infof("tx hex %s", txHex) - log.Infof("msg Tx: %v", msgTx) - log.Infof("inputs: %v", inputs) + log.Infof("msg Tx: %s", msgTx) + log.Infof("inputs: %s", inputs) // attempt to sign transcation with provided inputs - keys signedMsgTx, _, errSign := w.MainClient.SignRawTransactionWithWallet3( &msgTx, inputs, "ALL")