lnrpc+rpcserver: rename ScriptPubkey to PkScript on Utxo msg

This commit is contained in:
Conner Fromknecht committed 2019-02-11 13:02:25 -08:00
1 parent 3fa9d81a41
commit 34e36e9daa
6 files changed
+569 -569

No files matched your search

+1 -1
View File
@@ -1320,7 +1320,7 @@ func (n *NetworkHarness) sendCoins(ctx context.Context, amt btcutil.Amount,
// Assert that the lone unconfirmed utxo contains the same
// pkscript as the output generated above.
pkScriptStr := resp.Utxos[0].ScriptPubkey
pkScriptStr := resp.Utxos[0].PkScript
if strings.Compare(pkScriptStr, expPkScriptStr) != 0 {
return fmt.Errorf("pkscript mismatch, want: %s, "+
"found: %s", expPkScriptStr, pkScriptStr)