Fix transaction error argument assumption