diff --git a/rpcserver.go b/rpcserver.go index 2c686b3..60102ab 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -1902,7 +1902,7 @@ func SignRawTransaction(icmd btcjson.Cmd) (interface{}, *btcjson.Error) { } } keys[addr.EncodeAddress()] = keyInfo{ - key: privk, + key: privk.ToECDSA(), compressed: compressed, } }