Tezos client ignores non locally-known delegate.
When originating a contract, tezos-client
might silently ignore delegate when using the b58check representation of the delegate pkh.
Tested on zeronet
and master
.
Steps to reproduce:
tezos-client gen_keys foo
tezos-client originate account my_account for foo transferring 100000 from bootstrap1 -fee 0 --delegate tz1faswCTDciRzE4oJ9jn2Vm2dvjeyA9fUzU
tezos-client bake for bootstrap1
tezos-client get delegate for my_account
Thanks at forkedchain on IRC for the bug report.