[#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)
// first we have proxy account, as it will pay for the execution
a = append(a, &wallet.Account{
Contract: &wallet.Contract{
Deployed: true,
},
})
a = append(a, notary.FakeContractAccount(c.notary.proxy))
// then we have inner ring multiaddress account
a = append(a, multiaddr)