func (w *SCWallet) AddOutput(trans fct.ITransaction, address fct.IAddress, amount uint64) error { _, adr, err := w.getWalletEntry([]byte(fct.W_RCD_ADDRESS_HASH), address) if err != nil { adr = address } trans.AddOutput(fct.CreateAddress(adr), amount) return nil }