[#2091] morph/client: Use notary.FakeContractAccount wrapper

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
Evgenii Stratonikov 2022-11-23 17:27:29 +03:00 committed by fyrchik
parent b93be8869b
commit c1ea6fd854

View file

@ -581,11 +581,7 @@ func (c *Client) notaryAccounts(invokedByAlpha bool, multiaddr *wallet.Account)
a := make([]*wallet.Account, 0, 4) a := make([]*wallet.Account, 0, 4)
// first we have proxy account, as it will pay for the execution // first we have proxy account, as it will pay for the execution
a = append(a, &wallet.Account{ a = append(a, notary.FakeContractAccount(c.notary.proxy))
Contract: &wallet.Contract{
Deployed: true,
},
})
// then we have inner ring multiaddress account // then we have inner ring multiaddress account
a = append(a, multiaddr) a = append(a, multiaddr)