Skip to content

Commit

Permalink
Add issue link
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Jun 29, 2023
1 parent 7a6e797 commit 60b034b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bindings/nodejs/examples/client/06-simple-block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function run() {

try {
// Create block with no payload
// TODO: have a way in the bindings to send an empty block
// TODO: have a way in the bindings to send an empty block https://github.com/iotaledger/iota-sdk/issues/647
const blockIdAndBlock = await client.postBlockPayload(
new TaggedDataPayload(utf8ToHex('Hello'), utf8ToHex('Tangle')),
);
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/tests/client/examples.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ describe.skip('Main examples', () => {
).toBe(200);
});

// TODO: have a way in the bindings to send an empty block
// TODO: have a way in the bindings to send an empty block https://github.com/iotaledger/iota-sdk/issues/647
// it('sends a block', async () => {
// const blockIdAndBlock = await client.buildAndPostBlock();

Expand Down
2 changes: 1 addition & 1 deletion bindings/python/examples/client/06_simple_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
client = Client(nodes=[node_url])

# Create and post a block without payload
# TODO: have a way in the bindings to send an empty block
# TODO: have a way in the bindings to send an empty block https://github.com/iotaledger/iota-sdk/issues/647
block = client.submit_payload(TaggedDataPayload(utf8_to_hex("tag"), utf8_to_hex("data")))
print(f'Empty block sent: {os.environ["EXPLORER_URL"]}/block/{block[0]}')

0 comments on commit 60b034b

Please sign in to comment.