You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 13, 2022. It is now read-only.
It's also possible to load input OutPoint from different index:
CKB.load_input_out_point(1,CKB::Source::INPUT)# This won't trigger errors but would always return nil since output doesn't have# OutPointCKB.load_input_out_point(1,CKB::Source::OUTPUT)
The demo is not consistent with the description. We want to show a different index, but the demo shows a different source.
Another question: what's CKB.load_input_out_point(0, CKB::Source::CURRENT) different from CKB.load_input_out_point(0, CKB::Source::INPUT)
The text was updated successfully, but these errors were encountered:
But I think it's better to remove outputs and deps these two kinds of source, they are meaningless, just
lead to confuse, cause only inputs have out_points.
https://github.com/nervosnetwork/ckb-demo-ruby-sdk/blob/develop/docs/how-to-write-contracts.md#load-input-outpoint
The demo is not consistent with the description. We want to show a different index, but the demo shows a different source.
Another question: what's
CKB.load_input_out_point(0, CKB::Source::CURRENT)
different fromCKB.load_input_out_point(0, CKB::Source::INPUT)
The text was updated successfully, but these errors were encountered: