NillionNetwork / nilchain

Coordination layer for the Nillion Network
https://nillion.com
12 stars 13 forks source link

fix: Add TxConfig to ClientCtx #24

Closed facundomedica closed 4 months ago

facundomedica commented 4 months ago

This is a more correct fix to https://github.com/NillionNetwork/nilchain/pull/23

It can be tested by running the unjail command even offline:

./build/nilchaind tx slashing unjail --offline --account-number 1 --sequence 1

Previously it would fail with a nil pointer dereference