Skip to content

Commit

Permalink
Merge pull request #2779 from threefoldtech/development_fix_rmb
Browse files Browse the repository at this point in the history
Initialize the rmb payload in case no payload was sent
  • Loading branch information
AhmedHanafy725 authored May 27, 2024
2 parents afcda0c + 387c334 commit 2bc450e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/rmb_direct_client/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ class Client {
} else {
clientEnvelope.plain = new Uint8Array(Buffer.from(requestData));
}
} else {
clientEnvelope.plain = new Uint8Array();
}

clientEnvelope.relays = this.twin.relay.split("_");
Expand Down

0 comments on commit 2bc450e

Please sign in to comment.