anchor.diff:                                              Map)),
       BothSigned = aec_test_utils:sign_tx(CloseTx, [InSecKey, RespSecKey]),
       Transaction = aec_base58c:encode(transaction, aetx_sign:serialize_to_binary(BothSigned)),
  -    {ok, 200, Response} = request(Node, 'PostTransaction', #{tx => Transaction}),
  -    Response.
  +    verify(200, request(Node, 'PostTransaction', #{tx => Transaction})).
   
   post_deposit_state_channel_tx(Node, PayingParty, OtherParty, ChannelId, #{nonce := _} = Map) ->
       #{ pubkey := InPubKey, privkey := InSecKey } = PayingParty,
  
positive.code:     Signed = aec_test_utils:sign_tx(RespTx, [PrivKey]),
      SignedEnc = aetx_sign:serialize_to_binary(Signed),
      Transaction = aec_base58c:encode(transaction, SignedEnc),
      {ok, 200, Resp} = request(Node, 'PostTransaction', #{tx => Transaction}),
      Resp.
  
  %% Use values that are not yet base58c encoded in test cases
  wait_for_value({balance, PubKey, MinBalance}, NodeNames, Timeout, Ctx) ->
  
negative.code:                                        Map)),
      BothSigned = aec_test_utils:sign_tx(DepositTx, [InSecKey, RespSecKey]),
      Transaction = aec_base58c:encode(transaction, aetx_sign:serialize_to_binary(BothSigned)),
      verify(200, request(Node, 'PostTransaction', #{tx => Transaction})).
  
  post_withdraw_state_channel_tx(Node, RecParty, OtherParty, ChannelId, #{nonce := _} = Map) ->
      #{ pubkey := InPubKey, privkey := InSecKey } = RecParty,
  