When you run the flow-go-sdk example for SendAndSubscribeTransactionStatuses, a nil pointer dereference crash occurs during runtime.
Steps to reproduce:
open flow-go-sdk/examples folder
run the emulator via flow-c1 emulator start -v
run the example via make send-and-subscribe-transaction-statuses in a separate terminal
You should see an error in the emulator with nil pointer dereference error.
I assume the error is caused by flow-go implementation rather than flow-go-sdk wrapper one. I'd also suggest refactoring the implementation of this method as it was extended by quite a complex logic and became hard to reason about
When you run the
flow-go-sdk
example forSendAndSubscribeTransactionStatuses
, a nil pointer dereference crash occurs during runtime.Steps to reproduce:
flow-go-sdk/examples
folderflow-c1 emulator start -v
make send-and-subscribe-transaction-statuses
in a separate terminalYou should see an error in the emulator with nil pointer dereference error.
I assume the error is caused by
flow-go
implementation rather thanflow-go-sdk
wrapper one. I'd also suggest refactoring the implementation of this method as it was extended by quite a complex logic and became hard to reason about