Commit 2d02515a authored by Mark Harding's avatar Mark Harding

(fix): we only need address on recurring wires

parent 0661c86f
No related merge requests found
Pipeline #69570408 passed with stages
in 9 minutes and 48 seconds
......@@ -336,7 +336,7 @@ class Manager
}
$urn = new Urn($id);
list ($address, $sender, $receiver) = explode('-', $urn->getNss());
list ($address, , ,) = explode('-', $urn->getNss());
if ($address === 'offchain') {
$this->setPayload([
......
......@@ -271,7 +271,7 @@ class ManagerSpec extends ObjectBehavior
$subscription->getId()
->shouldBeCalled()
->willReturn('0x123');
->willReturn('urn:subscription:0x123-1234-5678');
$this->client->encodeContractMethod('wireFromDelegate(address,address,uint256)', [
'0x123',
......@@ -328,7 +328,7 @@ class ManagerSpec extends ObjectBehavior
$subscription->getId()
->shouldBeCalled()
->willReturn('offchain');
->willReturn('urn:subscription:offchain-1234-5678');
$this->cap->setUser(Argument::any())
->shouldBeCalled()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment