Fix build.
This commit is contained in:
parent
03185be3cf
commit
e358da905a
2 changed files with 2 additions and 2 deletions
|
@ -358,7 +358,7 @@ func (a *Account) ImportPrivateKey(pk []byte, compressed bool, bs *wallet.BlockS
|
|||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
addrStr := addr.String()
|
||||
addrStr := addr.EncodeAddress()
|
||||
|
||||
// Immediately write wallet to disk.
|
||||
AcctMgr.ds.ScheduleWalletWrite(a)
|
||||
|
|
|
@ -182,7 +182,7 @@ func (a *Account) txToPairs(pairs map[string]int64, minconf int) (*CreatedTx, er
|
|||
|
||||
// These are nil/zeroed until a change address is needed, and reused
|
||||
// again in case a change utxo has already been chosen.
|
||||
var changeAddr *btcutil.AddressPubKeyHash
|
||||
var changeAddr btcutil.Address
|
||||
|
||||
var selectedInputs []*tx.RecvTxOut
|
||||
hasChange := false
|
||||
|
|
Loading…
Reference in a new issue